<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>依依|博客系统</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <base target="iframeShow"/>
            <jquery/>
            <css file="__DATA__/css/base.css"/>
            <css file="__PUBLIC__/style1/css/index.css"/>
            <js file="__PUBLIC__/js/index.js"/>
            <jsconst/>
    </head>
    <body> 
        <jquery/>
        <div id="top">
			<style>
				#logo{
				margin-top:20px;
				margin-left:12px;
				position:absolute;
				
				}
			</style>
			<img id="logo" src="__TPL__/public/images/nlogo.png" height="45"/>
            <div id="top_menu">
                <ul>
                    <li  class="cur"><a href="__APP__" target="_top">系统主页</a></li>
					<li menu="news"><a href="#" >内容管理</a></li>
                    <li menu="config"><a href="#" >系统设置</a></li>
                    <li menu="user"><a href="#" >会员管理</a></li>
                    <li menu="module"><a href="#" >功能模块</a></li>
                    
                    <li><a href="__WEB__/member" target="_blank">会员中心</a></li>
                    <li><a href="__WEB__" target="_blank">网站主页</a></li>
                </ul>
            </div>
		
            <div id="top_menu_right">
                <div class="style">
                    <span style="background:#3C4346" s="style1" id="c1">风格style1</span>
                    <span style="background:#64AA00" s="style2" id="c2">风格style2</span>
                    <span style="background:#86345D" s="style3" id="c3">风格style3</span>
                    <span style="background:#D07300" s="style4" id="c4">风格style3</span>
                </div>
				<div class="menu">
						<a href="javascript:void(0)" id="hideleftmenu">隐藏菜单</a>
						<a href="javascript:void(0)" >功能列表</a>
						<a href="__APP__/base/out" target="_self">安全退出</a>
					</div>
				</div>
        </div>
        <div id="left">
        	<div id="member" style="width:120px;height:32px;margin-top:-20px;float:right;color:red;line-height:32px;font-size:14px;">
		<?php if(isset($_SESSION['uid'])){ ?>
			<span style="color:#1AA9FF;">欢迎</span>&nbsp;&nbsp;<?php echo $_SESSION['username'];?>&nbsp;&nbsp;
			<a style="color:#1AA9FF;" href=" __APP__/base/out" target="_self">退出</a>
			<?php }else{ ?>
			<a href="__CONTROL__/login">登录</a>&nbsp;&nbsp;&nbsp;
			<a href="__WEB__?c=user&m=reg_show">注册</a>
		<?php }?>
			</div>

            <div class="block news">
                <h4> <a href="#" class="header"><span>内容管理</span></a></h4>
                <ul>
                    <li> <a href="__APP__/news/index/status/1">普通文章</a></li>
                    <li> <a href="__APP__/news/index/status/0">未审核内容</a></li>
                    <li> <a href="__APP__/news/recycled">回收站</a></li>
                </ul>
            </div>
            <div class="block news">
                <h4> <a href="#" class="header"><span>栏目管理</span></a></h4>
                <ul>
                    <li> <a href="__APP__/category">栏目列表</a></li>
                </ul>
            </div>
        
		<div class="block news">
                <h4> <a href="#" class="header"><span>模型管理</span></a></h4>
                <ul>
                    <li> <a href="__APP__/model/index">查看模型</a></li>
                    <li> <a href="__APP__/model/add_show">添加模型</a></li>
                </ul>
            </div>
		
            <div class="block news">
                <h4> <a href="#" class="header"><span>评论管理</span></a></h4>
                <ul>
                    <li> <a href="__APP__/common/allcomment">评论列表</a></li>
                    <li>  <a href="__APP__/common/pingbi">未审核评论</a></li>

                </ul>
            </div>
            <div class="block news">
                <h4> <a href="#" class="header"><span>发布管理</span></a></h4>
                <ul>
                    <li> <a href="#">生成首页</a></li>
                    <li>  <a href="#">生成列表页</a></li>
                    <li>  <a href="#">生成内容页</a></li>
                </ul>
            </div>
            <!-----------------------------------------------------------系统设置--------------------------------------------->
            <div class="block config">
                <h4> <a href="#" class="header"><span>基本设置</span></a></h4>
                <ul>
                    <li><a href="__APP__/config/setconfig/tabid/0">网站基本设置</a></li>
                    <li><a href="__APP__/config/setconfig/tabid/1">验证码</a></li>
                    <li><a href="__APP__/config/setconfig/tabid/2">水印处理</a></li>
                    <li><a href="__APP__/config/setconfig/tabid/3">文件上传</a></li>
                    <li><a href="__APP__/config/setconfig/tabid/4">邮件服务</a></li>
                    <li><a href="__APP__/config/setconfig/tabid/5">短消息</a></li>
                </ul>
            </div>
            <div class="block config">
                <h4> <a href="#" class="header"><span>会员交互设置</span></a></h4>
                <ul>
                    <li><a href="#">基本设置</a></li>
                    <li><a href="#">网站留言</a></li>
                    <li><a href="#">内容评论</a></li>
                </ul>
            </div>
            <div class="block config">
                <h4> <a href="#" class="header"><span>添加配置项</span></a></h4>
                <ul>
                    <li><a href="__APP__/config/type">配置组分类</a></li>
                    <li><a href="__APP__/config/add_type_show">添加配置组</a></li>
                    <li><a href="__APP__/config/config">配置项列表</a></li>
                    <li><a href="__APP__/config/add_config_show">添加配置项</a></li>
                </ul>
            </div>
            <!--------------------------------------------------------功能模块------------------------------------------------------>
            <div class="block module">
                <h4> <a href="#" class="header"><span>模块管理</span></a></h4>
                <ul>
                    <li><a href="#">评论管理</a></li>
                    <li><a href="#">短消息</a></li>
                    <li><a href="#">友情链接</a></li>
                </ul>
            </div>
            <!--------------------------------------------------------会员管理------------------------------------------------------>
            <div class="block user">
                <h4> <a href="#" class="header"><span>会员管理</span></a></h4>
                <ul>
                    <li><a href="__APP__/role/index">用户组管理</a></li>
                    <li><a href="__APP__/user/index">用户管理</a></li>
                    <li><a href="__APP__/node/index">角色设置</a></li>
                    <li><a href="__APP__/access/index">权限分配</a></li>
                </ul>
            </div>
        </div>
        <div id="con">
            <iframe src="__CONTROL__/welcome" id="iframeShow" name="iframeShow"></iframe>
        </div> 
        <script>
                    var c1=document.getElementById("c1");
                     var c2=document.getElementById("c2");
                      var c3=document.getElementById("c3");
                       var c4=document.getElementById("c4");
                    var top1=document.getElementById("top");
                     var left1=document.getElementById("left");
                 
                    c1.onclick=function(){
                        top1.style.background="#292929";
                        left1.style.background="#3C4346";
                 
                    }
                     c2.onclick=function(){
                        top1.style.background="#568F11";
                        left1.style.background="#64AA00";
               
                    }
                     c3.onclick=function(){
                        top1.style.background="#86345D";
                        left1.style.background="#96548D";
                    }
                     c4.onclick=function(){
                        top1.style.background="#F88525";
                        left1.style.background="#F9B74A";
                    }
          </script>
    </body>
</html>
